var ok = function(){
	//var config = {enabled: false}; 
	//chrome.storage.sync.get(config, function(items) {
		//if(items.enabled){				
			//console.log('https://blog.csdn.net/ -- 1');
			//$("#csdn-toolbar").css("display","none");
			$(".blog_container_aside").css("display","none");
			$(".recommend-box").css("display","none");
			$(".comment-box").css("display","none");
			$("#csdn-shop-window").css("display","none");
			$(".more-toolbox-new").css("display","none");
			$(".left-toolbox").css("display","none");
			$(".reward-box-new").css("display","none");
			$(".recommend-tit-mod").css("display","none");
			$(".template-box").css("display","none");
			$(".csdn-side-toolbar ").css("display","none");
			$("#csdn-copyright-footer").css("display","none");
			$("#mainBox").className="";
			$("#mainBox main").css("width","99%");
			$("span:contains('×')").click()				
			//console.log('https://blog.csdn.net/ -- 2');			
		//}
	//});
}


$(document).ready(function() {	
	$(window).scroll(function(){//开始监听滚动条
		ok();
	});
	$(window).resize(function() {
	  ok();
	});
	setTimeout(ok,500);
}); 

$(document).on("mousewheel DOMMouseScroll", function (e) {
	setTimeout(ok,500);
	/*
var delta = (e.originalEvent.wheelDelta && (e.originalEvent.wheelDelta > 0 ? 1 : -1))||
              (e.originalEvent.detail && (e.originalEvent.detail > 0 ? -1 : 1));      
   if (delta != 0) {
      $('.min-content h3').removeClass('add');
   }*/
});